package com.situ.mall.pojo.vo;

import com.situ.mall.pojo.entity.Order;
import com.situ.mall.pojo.entity.OrderItem;
import com.situ.mall.pojo.entity.Shipping;

import java.util.List;

public class OrderListVO {
    private Order order;
    private Shipping shipping;
    private List<OrderItem> orderItem;

    public OrderListVO(Order order, Shipping shipping, List<OrderItem> orderItem) {
        this.order = order;
        this.shipping = shipping;
        this.orderItem = orderItem;
    }

    public Order getOrder() {
        return order;
    }

    public void setOrder(Order order) {
        this.order = order;
    }

    public Shipping getShipping() {
        return shipping;
    }

    public void setShipping(Shipping shipping) {
        this.shipping = shipping;
    }

    public List<OrderItem> getOrderItem() {
        return orderItem;
    }

    public void setOrderItem(List<OrderItem> orderItem) {
        this.orderItem = orderItem;
    }

    public OrderListVO() {
    }

    @Override
    public String toString() {
        return "OrderListVO{" +
                "order=" + order +
                ", shipping=" + shipping +
                ", orderItem=" + orderItem +
                '}';
    }
}
